FUNCTION
json.as_text
function as_text(): textConvert this JSON text value to text.
Note that this method is different to json.to_text(). This method retrieves this text-typed JSON
value as Rell text, and throws an exception if this JSON value is not of text type. json.to_text()
converts this entire JSON value to its text representation, regardless of what type of JSON value
this is, and does not throw an exception.
Throws
exception— if this JSON value is not text
Since
0.14.16
© 2026 Chromia